import request from '@/utils/request'

export function containerInfoQuery(paramDataInfo) {
    return request({
        url: '/ywu/container/container.query.info',
        method: 'post',
        data: paramDataInfo
    })
}

export function containerCreateInfo(paramDataInfo) {
    return request({
        url: '/ywu/container/container.create.info',
        method: 'post',
        data: paramDataInfo
    })
}

export function containerUpdateInfo(paramDataInfo) {
    return request({
        url: '/ywu/container/container.update.info',
        method: 'post',
        data: paramDataInfo
    })
}

export function containerBuildInfo(paramDataInfo) {
    return request({
        url: '/ywu/container/container.build.info',
        method: 'post',
        data: paramDataInfo
    })
}

export function containerPushInfo(paramDataInfo) {
    return request({
        url: '/ywu/container/container.push.info',
        method: 'post',
        data: paramDataInfo
    })
}

export function containerDeployInfo(paramDataInfo) {
    return request({
        url: '/ywu/container/container.deploy.info',
        method: 'post',
        data: paramDataInfo
    })
}

export function containerRestartInfo(paramDataInfo) {
    return request({
        url: '/ywu/container/container.restart.info',
        method: 'post',
        data: paramDataInfo
    })
}

export function containerDeleteInfo(paramDataInfo) {
    return request({
        url: '/ywu/container/container.delete.info',
        method: 'post',
        data: paramDataInfo
    })
}

export function containerSimpleDeployInfo(paramDataInfo) {
    return request({
        url: '/ywu/container/container.simple.deploy.info',
        method: 'post',
        data: paramDataInfo
    })
}

export function containerContainerLogInfo(paramDataInfo) {
    return request({
        url: '/ywu/container/container.logs.info',
        method: 'post',
        data: paramDataInfo
    })
}

export function containerBuildStepInfo(paramDataInfo) {
    return request({
        url: '/ywu/container/container.build.step.info',
        method: 'post',
        data: paramDataInfo
    })
}

export function containerInstanceDetailInfo(paramDataInfo) {
    return request({
        url: '/ywu/container/container.query.instance.detail.info',
        method: 'post',
        data: paramDataInfo
    })
}

export function containerAppLogList(paramDataInfo) {
    return request({
        url: '/ywu/container/container.app.log.list.info',
        method: 'post',
        data: paramDataInfo
    })
}

export function containerAppLogDownLoad(paramDataInfo) {
    return request({
        url: `/ywu/container/container.app.log.info.download`,
        method: 'post',
        data: paramDataInfo
    })
}